package com.shop.service;

import com.shop.common.result.util.ResultModel;
import com.shop.entity.SellerCommodityExtendDo;
import com.baomidou.mybatisplus.extension.service.IService;
import com.shop.vo.seller.AddSellerCommodityExtendVo;

import java.util.List;

/**
 * <p>
 * 卖家商品扩展表 服务类
 * </p>
 *
 * @author 靳 旺
 * @since 2021-03-17
 */
public interface SellerCommodityExtendService extends IService<SellerCommodityExtendDo> {

    /**
     * 商家进货
     * @param addSellerCommodityExtendVoList
     * @return
     */
    ResultModel addSellerCommodityExtendVo(List<AddSellerCommodityExtendVo> addSellerCommodityExtendVoList)throws Exception;

    /**
     * 支付宝支付成功回调
     * @param out_trade_no
     * @param trade_no
     * @param trade_status
     * @return
     */
    ResultModel paySuccessMessage(String out_trade_no, String trade_no, String trade_status)throws Exception;
}
